﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineShopTest
{
    abstract class Product
    {
        private double price;
        private int amount;

        public int Amount
        {
            get { return amount; }
            set { amount = value; }
        }


        public double Price
        {
            get { return price; }
            set { price = value; }
        }

        abstract public void Sell(int count);
    }
}
